home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 05.zip / BS1 part 5 / IM_Install1.adf / print-docs < prev    next >
Text File  |  1992-08-29  |  2KB  |  68 lines

  1. ; CBM installer script to install Imagemaster on users hard-drive
  2. ;     Written: August 28th, 1992
  3. ; Last update: August 28th, 1992
  4. ;          by: Ben Williams
  5. ;----------------------------------------------------------------
  6.  
  7.  
  8. ; This bypasses the final dir text
  9. ;---------------------------------
  10. (set @default-dest "")
  11.  
  12. ; We'll need our compressed-file extraction command:
  13. ;---------------------------------------------------
  14. (set src_disk "IM_Install2")
  15. (askdisk
  16.     (prompt ("Please insert the %s diskette" src_disk))
  17.     (help "We need to copy some files from this diskette.")
  18.     (dest src_disk)
  19. )
  20.  
  21. ; Get the extractor
  22. ;------------------
  23. (copyfiles (source (cat src_disk ":"))
  24.            (dest "ram:")
  25.            (pattern "extract")
  26.            (files)
  27. )
  28. (set src_disk "IM_Install3")
  29. (askdisk
  30.     (prompt ("Please insert the %s diskette" src_disk))
  31.     (help "We need to copy some files from this diskette.")
  32.     (dest src_disk)
  33. )
  34.  
  35. ; Get the archive from disk three
  36. ;--------------------------------
  37. (copyfiles (source (cat src_disk ":"))
  38.            (dest "ram:")
  39.            (pattern "ia.lzh")
  40.            (files)
  41. )
  42.  
  43. ; Create the actual doc file
  44. ;---------------------------
  45. (makedir "ram:gbzyx")
  46. (run "ram:extract e ram:ia ram:gbzyx/")
  47.  
  48. ; Print it!
  49. ;----------
  50. (run "type ram:gbzyx/i_addendum to prt:")
  51.  
  52. ; Clean Up
  53. ;---------
  54. (delete "ram:ia.lzh")
  55. (run "delete ram:gbzyx ALL QUIET")
  56.  
  57. ; No exit by the book because we don't want the "installed" message
  58. ;------------------------------------------------------------------
  59. (message "The addendum to the Imagemaster manual has been sent to "
  60.          "your printer. This addendum has a table of contents and "
  61.          "an index; be certain to use these as they will help you "
  62.          "a great deal.  Note that this addendum will be replaced "
  63.          "by a more detailed manual in the future; for now, we're "
  64.          "providing this to cover you while we write the next one."
  65. )
  66.  
  67. (exit (quiet))
  68.